package cn.iune.erp.inventory;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IStocktakingDetailDao {
	
	public void insert(StocktakingDetail obj);
	
	public void delete(String fID);
	
	public StocktakingDetail update(StocktakingDetail obj);

	public List<StocktakingDetail> getAll();
	
	public List<StocktakingDetail> getByMasterID(String fMasterID);
	
	public StocktakingDetail getByID(String fID);

	JSONObject query(JSONObject data) throws SQLException;

	StocktakingDetail getByNo(String documentNo, String serialNo, String enterpriseNo);

	JSONObject create(JSONObject data);


}
